package com.geek.crowdhub.controller.v1.request.business;


import com.geek.crowdhub.model.enums.JournalType;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;


@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class JournalRequest {
    private Long id;
    private String title;
    private String description;
    @Enumerated(EnumType.STRING)
    private JournalType journalType;
    private String content;
    private Long campaignDetailId;
    private String posterImg;
}
